cmake_minimum_required(VERSION 2.8.12)
project(MyMudduo)

#set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -std=c++11 -fPIC")

aux_source_directory(. SRC_LIST)
#add_library(MyMuduo SHARED ${SRC_LIST})
add_executable(MyMuduo ${SRC_LIST})